package TrueTopic;

public class YinShiFenJie {
    public static void main(String[] args) {
        fun(60);
    }

    private static void fun(int num) {
        for (int i = 2; i < num; i++) {
            while (num % i == 0) {
                System.out.println(i);
                num = num / i;
            }
        }
        if (num > 1) {
            System.out.println(num);
        }
    }
}
